load("@rules_python//python:py_binary.bzl", "py_binary")

load("@wod_deps//:requirements.bzl", "requirement")
package(
    default_applicable_licenses = ["//waymo_open_dataset:license"],
    default_visibility = [
        "//visibility:public",
    ],
)

licenses(["notice"])

cc_binary(
    name = "compare_objects_file_to_submission_main",
    srcs = ["compare_objects_file_to_submission_main.cc"],
    deps = [
        "//waymo_open_dataset:dataset_cc_proto",
        "//waymo_open_dataset/metrics:matcher",
        "//waymo_open_dataset/protos:metrics_cc_proto",
        "//waymo_open_dataset/protos:submission_cc_proto",
        "@com_google_absl//absl/flags:flag",
        "@com_google_absl//absl/flags:parse",
        "@com_google_glog//:glog",
    ],
)

py_binary(
    name = "make_objects_file_from_latency_results",
    srcs = ["make_objects_file_from_latency_results.py"],
    deps = [
        requirement('numpy'),
        "//waymo_open_dataset:dataset_proto_py_pb2",
        "//waymo_open_dataset/protos:metrics_proto_py_pb2",
    ],
)
